/*
 * @Author: 郝奔 1425466221@qq.com
 * @Date: 2024-08-05 16:22:46
 * @LastEditors: 郝奔 1425466221@qq.com
 * @LastEditTime: 2024-11-29 11:34:19
 * @FilePath: \dqbasic_open_platform\src\framework\api\application\types.ts
 * @Description: 这是默认设置,请设置`customMade`, 打开koroFileHeader查看配置 进行设置: https://github.com/OBKoro1/koro1FileHeader/wiki/%E9%85%8D%E7%BD%AE
 * Copyright (c) 2024-present HBIS Digital Technology Co.,Ltd. All rights reserved. 
 */
import { ReqBasicInfo, ID } from '@/framework/api/common/index';
export interface FormDataType {
  appName: string;
  appCode: string;
  appAddress: string;
  integratedAppHost: string;
  appIcon: string;
  iconType: number;
  iconColor: string;
  appId: string;
  remark: string;
  integratedAppType: number;
  ssoAuthMode: number;
  maintainerIds: string;
  appSecret: string;
  maintainer: string;
}
export interface AppListType extends FormDataType, DetailIdType, ReqBasicInfo {
  statusFlag: number;
  tenantId: string;
  releaseFlag: number;
  maintainers: SysUserDTO[]
}
export interface DetailIdType {
  /**
   * @description: 
   * @return {*}
   */
  appId: string;
}
export interface UpdateFlagType extends DetailIdType {
  statusFlag: number;
}
export interface AppSecretType extends DetailIdType {
  appSecret: string;
  AppClientId: string;
}
export interface SysUserDTO {
  userId: ID,
  account: string,
  realName: string,
}